package com.yanqu.road.entity.log.cross.xingyou;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_c_log_xing_you_explore", autoSave = true, desc = "行游山水-探索-高僧赠礼", eventName = "mouwater_gift", dataUpload = true, uploadCk = true, isCross = true)
public class LogCrossXingYouExplore extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(isIndex = true, desc = "分组id")
    private int groupId;
    @FieldTypeAnnotation(desc = "队伍ID", isIndex = true, dataAttribute = "team_id")
    private int teamId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "选择id", dataAttribute = "mouwater_box")
    private int selectId;

    @FieldTypeAnnotation(desc = "获得银票", dataAttribute = "mouwater_silget")
    private int sliverCoin;

    @FieldTypeAnnotation(desc = "获得金页子", dataAttribute = "mouwater_golget")
    private int goldCoin;

    @FieldTypeAnnotation(desc = "获得道具", dataAttribute = "item_get")
    private String reward;

    @FieldTypeAnnotation(desc = "时间")
    private Date logTime;

    public LogCrossXingYouExplore(int activityId, int teamId, long userId, int selectId, int sliverCoin, int goldCoin, String reward) {
        this.activityId = activityId;
        this.teamId = teamId;
        this.userId = userId;
        this.selectId = selectId;
        this.sliverCoin = sliverCoin;
        this.goldCoin = goldCoin;
        this.reward = reward;
        this.logTime = new Date();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public int getTeamId() {
        return teamId;
    }

    public void setTeamId(int teamId) {
        this.teamId = teamId;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getSelectId() {
        return selectId;
    }

    public void setSelectId(int selectId) {
        this.selectId = selectId;
    }

    public int getSliverCoin() {
        return sliverCoin;
    }

    public void setSliverCoin(int sliverCoin) {
        this.sliverCoin = sliverCoin;
    }

    public int getGoldCoin() {
        return goldCoin;
    }

    public void setGoldCoin(int goldCoin) {
        this.goldCoin = goldCoin;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }
}
